{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# Visualizing Uncertainties"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "For any scientific measurement, accurate accounting of uncertainties is nearly as important, if not more so, as accurate reporting of the number itself.\n",
    "For example, imagine that I am using some astrophysical observations to estimate the Hubble Constant, the local measurement of the expansion rate of the Universe.\n",
    "I know that the current literature suggests a value of around 70 (km/s)/Mpc, and I measure a value of 74 (km/s)/Mpc with my method. Are the values consistent? The only correct answer, given this information, is this: there is no way to know.\n",
    "\n",
    "Suppose I augment this information with reported uncertainties: the current literature suggests a value of 70 ± 2.5 (km/s)/Mpc, and my method has measured a value of 74 ± 5 (km/s)/Mpc. Now are the values consistent? That is a question that can be quantitatively answered.\n",
    "\n",
    "In visualization of data and results, showing these errors effectively can make a plot convey much more complete information."
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Basic Errorbars\n",
    "\n",
    "One standard way to visualize uncertainties is using an errorbar. A basic errorbar can be created with a single Matplotlib function call, as shown in the following figure:"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {
    "tags": []
   },
   "outputs": [],
   "source": [
    "%matplotlib inline\n",
    "import matplotlib.pyplot as plt\n",
    "plt.style.use('seaborn-whitegrid')\n",
    "import numpy as np"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {
    "collapsed": false,
    "jupyter": {
     "outputs_hidden": false
    }
   },
   "outputs": [
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAWwAAAD0CAYAAAC/3RwjAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjQuMywgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/MnkTPAAAACXBIWXMAAAsTAAALEwEAmpwYAAAWe0lEQVR4nO3dfYwU5QHH8d8d3InLlbsYaxNt8OUP4mlCTjBYEmmvvSq2ia1RQDxzluAfakiU9kJRQq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hoeH9dxzz2nVqlV66KGHwi6Sb7Zt26b169fryy+/lCTdc889Wr16tZ555hkVi0VPG2GRCux0Oq1FixZJktra2vT++++HXCL/XXHFFbrtttskScViMRFv79m0aZOWL1+uM844I+yiBOZPf/qT5syZo1WrVunmm28ee21YXJ177rkaGRmR4zgaHBzU9OlGU+9bYfbs2XrkkUfGfv7LX/6iBQsWSJK+/e1v6+233/ZsW5H6FAcHB9XU1DT287Rp0zQ8PBzrnT1z5kxJJ+p+6623avXq1eEWyGcvvviiTjvtNC1atEi///3vwy5OYD7//HMNDAxoy5YtOnTokG655Ra9+uqrqqurC7tovkilUjp8+LB+8IMf6PPPP9eWLVvCLpJvFi9erEOHDo39XCwWx/brzJkz9cUXX3i2rUi1sJuamnT8+PGxnx3HiXVYj/rkk090ww036Mc//rGuvPLKsIvjqxdeeEFvv/22urq6lMlktHbtWh05ciTsYvmupaVFl156qRobG3XeeefplFNO0X/+85+wi+WbJ598Updeeqlee+01vfzyy7r99tvHugzirr7+ZKweP35cs2bN8m7dnq3JA/PmzdPevXslSf39/ZozZ07IJfLfp59+qpUrV2rNmjVasmRJ2MXx3fbt2/X000/rqaeeUmtrqzZt2qSvf/3rYRfLd/Pnz9dbb72lYrGof/3rX/rvf/+rlpaWsIvlm1mzZulrX/uaJKm5uVnDw8MaGRkJuVTBuOCCC7Rv3z5J0t69e3XxxRd7tu5INV8vu+wy/fnPf9by5ctVLBYT8XLfLVu26NixY9q8ebM2b94s6cRNjCTdkEuC7373u3rnnXe0ZMkSFYtFbdiwIdb3K1asWKF169aps7NThUJBP/3pT5VKpcIuViDWrl2rX/ziF/rtb3+r8847T4sXL/Zs3TzpCACWiFSXCACgPAIbACxBYAOAJQhsALAEgQ0AliCwAcASBDYAWILABgBL/A+dCDgfDDPEXgAAAABJRU5ErkJggg==",
      "text/plain": [
       "<Figure size 432x288 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "x = np.linspace(0, 10, 50)\n",
    "dy = 0.8\n",
    "y = np.sin(x) + dy * np.random.randn(50)\n",
    "\n",
    "plt.errorbar(x, y, yerr=dy, fmt='.k');"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "Here the `fmt` is a format code controlling the appearance of lines and points, and it has the same syntax as the shorthand used in `plt.plot`, outlined in the previous chapter and earlier in this chapter.\n",
    "\n",
    "In addition to these basic options, the `errorbar` function has many options to fine-tune the outputs.\n",
    "Using these additional options you can easily customize the aesthetics of your errorbar plot.\n",
    "I often find it helpful, especially in crowded plots, to make the errorbars lighter than the points themselves (see the following figure):"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {
    "collapsed": false,
    "jupyter": {
     "outputs_hidden": false
    }
   },
   "outputs": [
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAWwAAAD0CAYAAAC/3RwjAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjQuMywgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/MnkTPAAAACXBIWXMAAAsTAAALEwEAmpwYAAAaPElEQVR4nO3df2wUZRoH8O92PVwLxxGPCiWXXs4/yK2a6tGLdyZwcOEsQuqPnESxmxpictwZEqA2FaW19jjKjxAPPSNC0SjR9VDiz6BRxBi5OxJymRyakobLcQaDtE1BDcK6Unbn/uC6ttud3Z1335l533e+n6RJu9udeWdn9tl3nnnedyK2bdsgIiLlVQXdACIiKg8DNhGRJhiwiYg0wYBNRKQJBmwiIk0wYBMRaeIyrxZsWZZXiyYiMlpDQ0PBxz0L2MVWWkp/fz/i8bjk1qiN2xwO3OZwqGSbi3V2mRIhItIEAzYRkSYYsImINMGATUSkCQZsIiJNMGATEWmCAZuISBMM2EREmvB04EwYDA0N5X6fMWNGgC0hItMxYFdoeHg49zsDNhF5iSkRIiJNMGATEWmCAZuISBMM2EREmhC+6JjJZNDZ2YlPP/0UkUgEf/zjHzF79myZbSMiojGEe9gffvghAGDPnj1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tw5XHaZuTM519XV4cknn8z9ffToUdx4440AgF/96lc4dOiQtHUp9S6eO3cOU6ZMyf0djUZx8eJFo3f25MmTAVza9lWrVmHNmjXBNshjr732Gq688krMmzcPvb29QTfHN19++SVOnTqFHTt24OTJk7j//vvx7rvvIhKJBN00T1RXV+Pzzz/H4sWL8eWXX2LHjh1BN8kzixYtwsmTJ3N/27ad26+TJ0/G119/LW1dSvWwp0yZgvPnz+f+zmazRgfrUQMDA7j33ntx++2349Zbbw26OZ569dVXcejQIbS0tKC/vx9r167F8PBw0M3y3LRp0zB37lxMmjQJV199NS6//HKjb2bw/PPPY+7cuXjvvffw5ptv4qGHHsqlDExXVfVdWD1//jymTp0qb9nSliTBnDlzcPDgQQDAkSNHMHv27IBb5L3Tp0/jvvvuQ3t7O5YuXRp0czyXTCbx4osv4oUXXkA8HseWLVvG3ULLVA0NDfjb3/4G27YxNDSEb775BtOmTQu6WZ6ZOnUqvv/97wMAfvCDH+DixYvIZDIBt8of11xzDQ4fPgwAOHjwIH7+859LW7ZS3debb74Z//jHP7Bs2TLYth2Km/vu2LEDZ8+exfbt27F9+3YAly5ihOmCXBj8+te/xj//+U8sXboUtm2jq6vL6OsVy5cvx7p169Dc3IyRkRG0traiuro66Gb5Yu3atXjkkUfw5z//GVdffTUWLVokbdkc6UhEpAmlUiJEROSMAZuISBMM2EREmmDAJiLSBAM2EZEmGLCJiDTBgE1EpAkGbCIiTfwPB+Fq5t46wVcAAAAASUVORK5CYII=",
      "text/plain": [
       "<Figure size 432x288 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "plt.errorbar(x, y, yerr=dy, fmt='o', color='black',\n",
    "             ecolor='lightgray', elinewidth=3, capsize=0);"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "In addition to these options, you can also specify horizontal errorbars, one-sided errorbars, and many other variants.\n",
    "For more information on the options available, refer to the docstring of `plt.errorbar`."
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Continuous Errors\n",
    "\n",
    "In some situations it is desirable to show errorbars on continuous quantities.\n",
    "Though Matplotlib does not have a built-in convenience routine for this type of application, it's relatively easy to combine primitives like `plt.plot` and `plt.fill_between` for a useful result.\n",
    "\n",
    "Here we'll perform a simple *Gaussian process regression*, using the Scikit-Learn API (see [Introducing Scikit-Learn](05.02-Introducing-Scikit-Learn.ipynb) for details).\n",
    "This is a method of fitting a very flexible nonparametric function to data with a continuous measure of the uncertainty.\n",
    "We won't delve into the details of Gaussian process regression at this point, but will focus instead on how you might visualize such a continuous error measurement:"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {
    "collapsed": false,
    "jupyter": {
     "outputs_hidden": false
    }
   },
   "outputs": [],
   "source": [
    "from sklearn.gaussian_process import GaussianProcessRegressor\n",
    "\n",
    "# define the model and draw some data\n",
    "model = lambda x: x * np.sin(x)\n",
    "xdata = np.array([1, 3, 5, 6, 8])\n",
    "ydata = model(xdata)\n",
    "\n",
    "# Compute the Gaussian process fit\n",
    "gp = GaussianProcessRegressor()\n",
    "gp.fit(xdata[:, np.newaxis], ydata)\n",
    "\n",
    "xfit = np.linspace(0, 10, 1000)\n",
    "yfit, dyfit = gp.predict(xfit[:, np.newaxis], return_std=True)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "We now have `xfit`, `yfit`, and `dyfit`, which sample the continuous fit to our data.\n",
    "We could pass these to the `plt.errorbar` function as in the previous section, but we don't really want to plot 1,000 points with 1,000 errorbars.\n",
    "Instead, we can use the `plt.fill_between` function with a light color to visualize this continuous error (see the following figure):"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {
    "collapsed": false,
    "jupyter": {
     "outputs_hidden": false
    }
   },
   "outputs": [
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAXEAAAD0CAYAAABtjRZ7AAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliI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LtoWTd3r17qa+v55FHHuGLX/wit956a7aHlDU1NTUkEgmSySRTU1OzO08uA6tWreLf//3f9T8fP36crVu3AnDLLbewb9++Sz4+43dsamoKp9Op/9lgMBCPx5flX47D4QCm78mXvvQlvvKVr2R3QFnyxz/+EZ/Px44dO3jmmWeyPZysGxsbo7e3l6effpqzZ8/y8MMP88orryzL04Tsdjs9PT3cfffdjI2N8fTTT2d7SIvuzjvv5OzZs/qfNU3T3wsOh4PJyclLPj7jM3Gn00kgEND/nEwml2UAT+nr6+Of/umf+OQnP8knPvGJbA8nK/7whz+wb98+HnroIVpbW/nGN77B0NBQtoeVNR6Ph+3bt2M2m6mtrcVisTA6OprtYWXFr371K7Zv386f//xn/vu//5tvfvObelphuVLVc2E5EAjgcrkufX2mB7B582b27NkDwOHDh6mvr8/0S+SM4eFhPv/5z/PYY49x7733Zns4WfP888/z3HPP8eyzz9LQ0MBTTz1FcXFxtoeVNVu2bOHNN99E0zQGBgYIhUJ4PJ5sDysrXC4XBQUFALjd7hmnMS1X69evZ//+/QDs2bOH66677pLXZ3yKfMcdd/DWW29x//33o2ka3//+9zP9Ejnj6aefxu/385Of/ISf/OQnwPQihizuLW+33XYbBw8e5N5770XTNJ544ollu17yuc99jscff5wHHniAWCzGV7/6Vex2e7aHlVXf+MY3+M53vsO//uu/Ultby5133nnJ62XHphBC5DDZ7COEEDlMgrgQQuQwCeJCCJHDJIgLIUQOkyAuhBA5TIK4EELkMAniQgiRwySICyFEDvv/AesHPKBSNsy2AAAAAElFTkSuQmCC",
      "text/plain": [
       "<Figure size 432x288 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "# Visualize the result\n",
    "plt.plot(xdata, ydata, 'or')\n",
    "plt.plot(xfit, yfit, '-', color='gray')\n",
    "plt.fill_between(xfit, yfit - dyfit, yfit + dyfit,\n",
    "                 color='gray', alpha=0.2)\n",
    "plt.xlim(0, 10);"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "Take a look at the `fill_between` call signature: we pass an x value, then the lower *y*-bound, then the upper *y*-bound, and the result is that the area between these regions is filled.\n",
    "\n",
    "The resulting figure gives an intuitive view into what the Gaussian process regression algorithm is doing: in regions near a measured data point, the model is strongly constrained, and this is reflected in the small model uncertainties.\n",
    "In regions far from a measured data point, the model is not strongly constrained, and the model uncertainties increase.\n",
    "\n",
    "For more information on the options available in `plt.fill_between` (and the closely related `plt.fill` function), see the function docstring or the Matplotlib documentation.\n",
    "\n",
    "Finally, if this seems a bit too low-level for your taste, refer to [Visualization With Seaborn](04.14-Visualization-With-Seaborn.ipynb), where we discuss the Seaborn package, which has a more streamlined API for visualizing this type of continuous errorbar."
   ]
  }
 ],
 "metadata": {
  "anaconda-cloud": {},
  "jupytext": {
   "formats": "ipynb,md"
  },
  "kernelspec": {
   "display_name": "Python 3 (ipykernel)",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.9.2"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 4
}
